package com.parent.elasticsearch.old.es;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author yan
 * @Date 2023/7/19 0019 15:53
 * @Description
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Total implements Serializable {
    private static final long serialVersionUID = -2800296841878768335L;
    /**
     * 总条数
     */

    @JsonProperty(value = "value", required = true)
    private Integer value;
    /**
     * 查询类型
     */
    @JsonProperty(value = "relation", required = true)
    private String relation;
}